package com.example.wangyuyuan.androidframe.mvp.base;

/**
 * Created by wangyuyuan on 2017/5/9.
 * 服务器返回的错误数据类型统一处理实体类
 */

public class ErrorBean {

    /**
     * error : {"code":"-1","message":"内部错误"}
     * result : 0
     */

    /**
     * code : -1
     * message : 内部错误
     */

    private String code;
    private String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "ErrorBean{" +
                "code='" + code + '\'' +
                ", message='" + message + '\'' +
                '}';
    }
}
